import request from './request'
//账户资金流水历史
export function userAccountHis(params){
    const data = params
    return request({
        url: '/app/h5/userAccount/flow/his',
        method: 'post',
        data
    })
}
//我的账户情况
export function userAccountInfo(params){
    const data = params
    return request({
        url: '/app/h5/userAccount/info',
        method: 'post',
        data
    })
}
//发起提现申请
export function extractApply(params){
    const data = params
    return request({
        url: '/app/h5/userAccount/extract/apply',
        method: 'post',
        data
    })
}
//提现历史
export function extractHis(params){
    const data = params
    return request({
        url: '/app/h5/userAccount/extract/his',
        method: 'post',
        data
    })
}
//账户明细
export function userAccountDetail(params){
    const data = params
    return request({
        url: '/app/h5/userAccount/detail',
        method: 'post',
        data
    })
}
//用户主页
export function userIndex(params){
    return request({
        url: '/app/h5/anonymous/user/userIndex/'+params.userId,
        method: 'get',
        params:{}
    })
}
//卖家商品列表
export function sellerGoodsList(params){
    const data = params
    return request({
        url: '/app/h5/anonymous/appGoods/sellerGoodsList',
        method: 'post',
        data
    })
}